<script setup lang="ts">
// import request from './utils/request.ts'
// import {onMounted} from "vue";
// onMounted(()=>{
//   request.get('/hosp/hospital/1/5').then(res =>{
//     console.log(res)
//   })
// })
</script>

<template>
  <div class="container">
    <!--  顶部全局组件-->
    <HospitalTop></HospitalTop>
    <div class="content">
      <router-view></router-view>
    </div>
    <HospitalBottom></HospitalBottom>
    <Login ref="login"/>
  </div>
</template>

<style scoped lang="scss">
.container{
  display: flex;
  flex-direction: column;
  align-items: center;
  .content{
    margin-top: 70px;
    width: 1200px;
    margin-bottom: 50px;
  }
}
</style>
